﻿CREATE PROCEDURE dbo.GetLatestSensorTelegram
	@SensorId bigint
AS
  select top 1 HSEQ, ORG, Data3, Data2, Data1, Data0, Status, Created
  from SensorTelegram
  where SensorId = @SensorId
  order by Created desc
